<template>
  <button><router-link to="/home">去home</router-link></button>
  <button><router-link to="/demo">去demo</router-link></button>
</template>
<script setup lang="ts">
import {useUserStore} from "@/store/user.ts";
const userStore = useUserStore()

userStore.name = '张三'
console.log(userStore.name);

</script>
<style scoped>

</style>
